package com.yoomiito.app.net;

import com.yoomiito.app.BuildConfig;

import java.util.Random;

public class NetUrl {
    //正式  https://m.yoomiito.com/app/
//    private static final String BaseUrl = "https://tmp-m.yoomiito.com/app/";
//    private static final String BaseUrl = "https://m.yoomiito.com/app/";//正式
    private static final String BaseUrl = BuildConfig.H5BaseUrl;
    public static final String TaoBaoGoodsInfoUrl = BaseUrl + "product/index.html?";//淘宝商品详情  id=[淘宝商品id]&shareUserId=[分享用户id]
    public static final String GiftGoodsInfoUrl = BaseUrl + "vipproduct/index.html?";//礼包商品详情 id=[礼包商品id]
    public static final String TaoBaoGoodsInfoUrl_1 = "/app/product/index.html?";
    public static final String GiftGoodsInfoUrl_1 = "/app/vipproduct/index.html?";
    public static final String VideoUrl = BaseUrl + "video/index.html";//视频教程
    public static final String UserAgreementUrl = BaseUrl + "agreement/mugwort.html?"+getNum();//用户协议
    public static final String FAQUrl = BaseUrl + "faqs/index.html";//常见问题
    public static final String InviteFriendUrl = BaseUrl + "invitation/index.html?code=";//分享 code=[六位邀请码]
    public static final String CustomServiceUrl = BaseUrl + "customer/mugwort.html";//客服 /app/customer/index.html?cid=
//    public static final String CustomServiceVipUrl = BaseUrl + "customer-service/index.html?vip";//VIP客服
    public static final String VIPUrl = BaseUrl + "rights/?role=";//role_id
    public static final String AboutUs = BaseUrl + "about/mugwort.html";//关于我们
    public static final String PrivacyAgreementUrl = BaseUrl + "privacy/mugwort.html?"+getNum();//隐私协议
    public static final String SddVipRightUrl = BaseUrl+"viprights/index.html";//送多多权益

    private static String getNum(){
        return String.valueOf(System.currentTimeMillis());
    }
}
